3.1240 \(\int (1-2 x)^2 (2+3 x)^4 (3+5 x) \, dx\)

Optimal. Leaf size=45 \[ \frac{5}{162} (3 x+2)^8-\frac{16}{63} (3 x+2)^7+\frac{91}{162} (3 x+2)^6-\frac{49}{405} (3 x+2)^5 \]

[Out]

(-49*(2 + 3*x)^5)/405 + (91*(2 + 3*x)^6)/162 - (16*(2 + 3*x)^7)/63 + (5*(2 + 3*x)^8)/162

________________________________________________________________________________________

Rubi [A]  time = 0.0202908, antiderivative size = 45, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.05, Rules used = {77} \[ \frac{5}{162} (3 x+2)^8-\frac{16}{63} (3 x+2)^7+\frac{91}{162} (3 x+2)^6-\frac{49}{405} (3 x+2)^5 \]

Antiderivative was successfully verified.

[In]

Int[(1 - 2*x)^2*(2 + 3*x)^4*(3 + 5*x),x]

[Out]

(-49*(2 + 3*x)^5)/405 + (91*(2 + 3*x)^6)/162 - (16*(2 + 3*x)^7)/63 + (5*(2 + 3*x)^8)/162

Rule 77

Int[((a_.) + (b_.)*(x_))*((c_) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandIntegran
d[(a + b*x)*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && NeQ[b*c - a*d, 0] && ((ILtQ[
n, 0] && ILtQ[p, 0]) || EqQ[p, 1] || (IGtQ[p, 0] && ( !IntegerQ[n] || LeQ[9*p + 5*(n + 2), 0] || GeQ[n + p + 1
, 0] || (GeQ[n + p + 2, 0] && RationalQ[a, b, c, d, e, f]))))

Rubi steps

\begin{align*} \int (1-2 x)^2 (2+3 x)^4 (3+5 x) \, dx &=\int \left (-\frac{49}{27} (2+3 x)^4+\frac{91}{9} (2+3 x)^5-\frac{16}{3} (2+3 x)^6+\frac{20}{27} (2+3 x)^7\right ) \, dx\\ &=-\frac{49}{405} (2+3 x)^5+\frac{91}{162} (2+3 x)^6-\frac{16}{63} (2+3 x)^7+\frac{5}{162} (2+3 x)^8\\ \end{align*}

Mathematica [A]  time = 0.0011661, size = 49, normalized size = 1.09 \[ \frac{405 x^8}{2}+\frac{3672 x^7}{7}+\frac{675 x^6}{2}-\frac{1077 x^5}{5}-328 x^4-\frac{152 x^3}{3}+88 x^2+48 x \]

Antiderivative was successfully verified.

[In]

Integrate[(1 - 2*x)^2*(2 + 3*x)^4*(3 + 5*x),x]

[Out]

48*x + 88*x^2 - (152*x^3)/3 - 328*x^4 - (1077*x^5)/5 + (675*x^6)/2 + (3672*x^7)/7 + (405*x^8)/2

________________________________________________________________________________________

Maple [A]  time = 0.002, size = 40, normalized size = 0.9 \begin{align*}{\frac{405\,{x}^{8}}{2}}+{\frac{3672\,{x}^{7}}{7}}+{\frac{675\,{x}^{6}}{2}}-{\frac{1077\,{x}^{5}}{5}}-328\,{x}^{4}-{\frac{152\,{x}^{3}}{3}}+88\,{x}^{2}+48\,x \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((1-2*x)^2*(2+3*x)^4*(3+5*x),x)

[Out]

405/2*x^8+3672/7*x^7+675/2*x^6-1077/5*x^5-328*x^4-152/3*x^3+88*x^2+48*x

________________________________________________________________________________________

Maxima [A]  time = 1.3948, size = 53, normalized size = 1.18 \begin{align*} \frac{405}{2} \, x^{8} + \frac{3672}{7} \, x^{7} + \frac{675}{2} \, x^{6} - \frac{1077}{5} \, x^{5} - 328 \, x^{4} - \frac{152}{3} \, x^{3} + 88 \, x^{2} + 48 \, x \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^2*(2+3*x)^4*(3+5*x),x, algorithm="maxima")

[Out]

405/2*x^8 + 3672/7*x^7 + 675/2*x^6 - 1077/5*x^5 - 328*x^4 - 152/3*x^3 + 88*x^2 + 48*x

________________________________________________________________________________________

Fricas [A]  time = 1.35805, size = 117, normalized size = 2.6 \begin{align*} \frac{405}{2} x^{8} + \frac{3672}{7} x^{7} + \frac{675}{2} x^{6} - \frac{1077}{5} x^{5} - 328 x^{4} - \frac{152}{3} x^{3} + 88 x^{2} + 48 x \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^2*(2+3*x)^4*(3+5*x),x, algorithm="fricas")

[Out]

405/2*x^8 + 3672/7*x^7 + 675/2*x^6 - 1077/5*x^5 - 328*x^4 - 152/3*x^3 + 88*x^2 + 48*x

________________________________________________________________________________________

Sympy [A]  time = 0.063909, size = 46, normalized size = 1.02 \begin{align*} \frac{405 x^{8}}{2} + \frac{3672 x^{7}}{7} + \frac{675 x^{6}}{2} - \frac{1077 x^{5}}{5} - 328 x^{4} - \frac{152 x^{3}}{3} + 88 x^{2} + 48 x \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)**2*(2+3*x)**4*(3+5*x),x)

[Out]

405*x**8/2 + 3672*x**7/7 + 675*x**6/2 - 1077*x**5/5 - 328*x**4 - 152*x**3/3 + 88*x**2 + 48*x

________________________________________________________________________________________

Giac [A]  time = 1.78927, size = 53, normalized size = 1.18 \begin{align*} \frac{405}{2} \, x^{8} + \frac{3672}{7} \, x^{7} + \frac{675}{2} \, x^{6} - \frac{1077}{5} \, x^{5} - 328 \, x^{4} - \frac{152}{3} \, x^{3} + 88 \, x^{2} + 48 \, x \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^2*(2+3*x)^4*(3+5*x),x, algorithm="giac")

[Out]

405/2*x^8 + 3672/7*x^7 + 675/2*x^6 - 1077/5*x^5 - 328*x^4 - 152/3*x^3 + 88*x^2 + 48*x